package com.yitao.client.dto.product;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Auther: Kien
 * @Date: 2019/3/6 19:41
 * @Description:
 */
public class ProductBrowseLogDto extends BaseDto{

    /**
     *  id
     *  @mbggenerated
     */
    @ApiModelProperty("id")
    private Long id;

    /**
     * 操作类型 1:商品查看 2:商品加入购物车
     */
    @ApiModelProperty("操作类型 1:商品查看 2:商品加入购物车")
    private Integer operationType;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    private Long userId;

    /**
     * 商品id
     */
    @ApiModelProperty("商品id")
    private Long productId;

    @ApiModelProperty("如果为首页搜索时，记录搜索关键字")
    private String remark;

    /**
     * 是否被删除 false 否 true 是
     */
    @ApiModelProperty("是否删除")
    private Boolean isDelete;

    /**
     *  创建时间
     *  @mbggenerated
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     *  创建人
     *  @mbggenerated
     */
    @ApiModelProperty("创建人")
    private Long createBy;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getOperationType() {
        return operationType;
    }

    public void setOperationType(Integer operationType) {
        this.operationType = operationType;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
